<div class="statusservidors view">
<h2><?php  echo __('Situação de Servidor'); ?></h2>
	<dl>
		<dt><?php echo __('Código'); ?></dt>
		<dd>
			<?php echo h($statusservidor['Statusservidor']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Nome: '); ?></dt>
		<dd>
			<?php echo h($statusservidor['Statusservidor']['nome']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Descrição'); ?></dt>
		<dd>
			<?php echo h($statusservidor['Statusservidor']['descricao']); ?>
			&nbsp;
		</dd>
	</dl>
	
	<div id="ufs_title">
		<div class="actions"><?php echo $this->Html->link(__('Editar'), array('action' => 'edit', $statusservidor['Statusservidor']['id'])); ?></div>
		<div class="actions"><?php echo $this->Form->postLink(__('Excluir'), array('action' => 'delete', $statusservidor['Statusservidor']['id']), null, __('Tem certeza que deseja excluir a Situação de Servidor: '.$statusservidor['Statusservidor']['nome'].'?', $statusservidor['Statusservidor']['id'])); ?></div>
		<div class="actions"><?php echo $this->Html->link(__('Voltar'), array('action' => 'index')); ?></div>
	</div>
</div>
<div class="main_menu_div">
	<h3><?php echo $this->Html->link('HOME', array('controller' => 'adm', 'action' => 'index')); ?></h3>
	<ul id="accordion">
		<li id="main_menu">Cadastro</li>
		<ul>
			<li><?php echo $this->Html->link(__('Anexos E-mail'), array('controller' => 'anexoemails', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Arquivos de Termos'), array('controller' => 'arquivotermos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Bancos'), array('controller' => 'bancos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Categorias'), array('controller' => 'categorias', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Corretores'), array('controller' => 'corretors', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Entidades'), array('controller' => 'entidades', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Estados'), array('controller' => 'ufs', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Estado Civil'), array('controller' => 'estadocivils', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Formas de Pagamento'), array('controller' => 'fpagamentos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Imagens'), array('controller' => 'imagems', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Operadoras'), array('controller' => 'operadoras', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Operadoras Detalhes'), array('controller' => 'operadoradetalhes', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Órgãos'), array('controller' => 'orgaos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Parcelas'), array('controller' => 'parcelas', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Parentesco'), array('controller' => 'parentescos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Perfil Servidor'), array('controller' => 'perfilservidors', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Profiles'), array('controller' => 'profiles', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Planos de Saúde'), array('controller' => 'planosaudes', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Preços'), array('controller' => 'precos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Sindicatos'), array('controller' => 'sindicatos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Situação Servidor'), array('controller' => 'statusservidors', 'action' => 'index')); ?> </li>
			
		</ul>
		<li id="main_menu">Vínculos</li>
		<ul>
			<li><?php echo $this->Html->link(__('Entidades'), array('controller' => 'vinc_entidades', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Formas de Pagamento'), array('controller' => 'vinc_pagamentos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Parentescos'), array('controller' => 'vinc_parentescos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Sindicato'), array('controller' => 'vinc_sindicatos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Odontológico'), array('controller' => 'vinc_odontologicos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Estados'), array('controller' => 'vinc_ufs', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Categorias'), array('controller' => 'vinc_categorias', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Órgãos'), array('controller' => 'vinc_orgaos', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Corretores'), array('controller' => 'vinc_corretors', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Limpar Vínculos'), array('controller' => 'vinc_clears', 'action' => 'index')); ?> </li>
			
		</ul>
		<li id="main_menu">Relatórios</li>
		<ul>
			<li><?php echo $this->Html->link(__('Cadastrados'), array('controller' => 'relat_cadastrados', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Detalhado'), array('controller' => 'relat_detalhados', 'action' => 'index')); ?> </li>
			<li><?php echo $this->Html->link(__('Financeiro'), array('controller' => 'relat_financeiros', 'action' => 'index')); ?> </li>
		</ul>
		<li id="main_menu">Usuários</li>
		<ul>
			<li><?php echo $this->Html->link(__('Listar Usuários'), array('controller' => 'users', 'action' => 'index')); ?> </li>
		</ul>
	</ul>
</div>
<!--
<div class="related">
	<h3><?php echo __('Related Users'); ?></h3>
	<?php if (!empty($statusservidor['User'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Nome'); ?></th>
		<th><?php echo __('Username'); ?></th>
		<th><?php echo __('Passwd'); ?></th>
		<th><?php echo __('TipoUser'); ?></th>
		<th><?php echo __('Statusservidor Id'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($statusservidor['User'] as $User): ?>
		<tr>
			<td><?php echo $User['id']; ?></td>
			<td><?php echo $User['nome']; ?></td>
			<td><?php echo $User['username']; ?></td>
			<td><?php echo $User['passwd']; ?></td>
			<td><?php echo $User['tipoUser']; ?></td>
			<td><?php echo $User['statusservidor_id']; ?></td>
			<td><?php echo $User['created']; ?></td>
			<td><?php echo $User['modified']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'Users', 'action' => 'view', $User['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'Users', 'action' => 'edit', $User['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'Users', 'action' => 'delete', $User['id']), null, __('Are you sure you want to delete # %s?', $User['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New User'), array('controller' => 'users', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php echo __('Related Clientes'); ?></h3>
	<?php if (!empty($statusservidor['Cliente'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Iniciocobertura'); ?></th>
		<th><?php echo __('Mesvencimento'); ?></th>
		<th><?php echo __('Nome'); ?></th>
		<th><?php echo __('Genero'); ?></th>
		<th><?php echo __('Estadocivil Id'); ?></th>
		<th><?php echo __('Rg'); ?></th>
		<th><?php echo __('Orgexp'); ?></th>
		<th><?php echo __('Cpf'); ?></th>
		<th><?php echo __('Datanasc'); ?></th>
		<th><?php echo __('Cep'); ?></th>
		<th><?php echo __('Endereco'); ?></th>
		<th><?php echo __('Bairro'); ?></th>
		<th><?php echo __('Cidade'); ?></th>
		<th><?php echo __('Uf Id'); ?></th>
		<th><?php echo __('Foneresidencial'); ?></th>
		<th><?php echo __('Fonecomercial'); ?></th>
		<th><?php echo __('Ramal'); ?></th>
		<th><?php echo __('Celular'); ?></th>
		<th><?php echo __('Email'); ?></th>
		<th><?php echo __('Email2'); ?></th>
		<th><?php echo __('Nomemae'); ?></th>
		<th><?php echo __('Lotacao'); ?></th>
		<th><?php echo __('Matricula'); ?></th>
		<th><?php echo __('Statusservidor Id'); ?></th>
		<th><?php echo __('Banco Id'); ?></th>
		<th><?php echo __('Agenciabancaria'); ?></th>
		<th><?php echo __('Contacorrente'); ?></th>
		<th><?php echo __('Corretor Id'); ?></th>
		<th><?php echo __('Entidade Id'); ?></th>
		<th><?php echo __('Planosaude Id'); ?></th>
		<th><?php echo __('Created'); ?></th>
		<th><?php echo __('Modified'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($statusservidor['Cliente'] as $cliente): ?>
		<tr>
			<td><?php echo $cliente['id']; ?></td>
			<td><?php echo $cliente['iniciocobertura']; ?></td>
			<td><?php echo $cliente['mesvencimento']; ?></td>
			<td><?php echo $cliente['nome']; ?></td>
			<td><?php echo $cliente['genero']; ?></td>
			<td><?php echo $cliente['estadocivil_id']; ?></td>
			<td><?php echo $cliente['rg']; ?></td>
			<td><?php echo $cliente['orgexp']; ?></td>
			<td><?php echo $cliente['cpf']; ?></td>
			<td><?php echo $cliente['datanasc']; ?></td>
			<td><?php echo $cliente['cep']; ?></td>
			<td><?php echo $cliente['endereco']; ?></td>
			<td><?php echo $cliente['bairro']; ?></td>
			<td><?php echo $cliente['cidade']; ?></td>
			<td><?php echo $cliente['uf_id']; ?></td>
			<td><?php echo $cliente['foneresidencial']; ?></td>
			<td><?php echo $cliente['fonecomercial']; ?></td>
			<td><?php echo $cliente['ramal']; ?></td>
			<td><?php echo $cliente['celular']; ?></td>
			<td><?php echo $cliente['email']; ?></td>
			<td><?php echo $cliente['email2']; ?></td>
			<td><?php echo $cliente['nomemae']; ?></td>
			<td><?php echo $cliente['lotacao']; ?></td>
			<td><?php echo $cliente['matricula']; ?></td>
			<td><?php echo $cliente['statusservidor_id']; ?></td>
			<td><?php echo $cliente['banco_id']; ?></td>
			<td><?php echo $cliente['agenciabancaria']; ?></td>
			<td><?php echo $cliente['contacorrente']; ?></td>
			<td><?php echo $cliente['corretor_id']; ?></td>
			<td><?php echo $cliente['entidade_id']; ?></td>
			<td><?php echo $cliente['planosaude_id']; ?></td>
			<td><?php echo $cliente['created']; ?></td>
			<td><?php echo $cliente['modified']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'clientes', 'action' => 'view', $cliente['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'clientes', 'action' => 'edit', $cliente['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'clientes', 'action' => 'delete', $cliente['id']), null, __('Are you sure you want to delete # %s?', $cliente['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Cliente'), array('controller' => 'clientes', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
 -->